Hyperpay\Gateways\App\DefaultGateway B

Total Complexity 99
Dependencies 6
Dependents 0
Total lines 1,019
Lines of code 535
Logical lines of code 264
Comment lines 247
Methods 28
Properties 31

Methods 28

Method Rating Maintainability Complexity Lines of code
process_admin_options()
A
47 10 32
init_form_fields()
A
37 5 86
__construct()
S
44 6 41
validate_form()
S
55 7 18
check_status()
S
59 7 12
getCheckoutData()
S
41 4 57
renderPaymentForm()
S
49 5 30
getExtended()
S
58 5 15
handleError()
S
52 4 23
success()
S
53 4 21
capture_payment()
S
49 3 30
failed()
S
60 4 12
process_payment()
S
52 3 25
receipt_page()
S
56 3 18
order_received_text()
S
64 4 9
prepareCheckout()
S
59 3 13
admin_script()
S
60 3 12
iconSrc()
S
63 3 10
action_before_woocommerce_pay()
S
63 3 10
set_icons()
S
64 3 10
getEntity()
S
67 2 8
processQueryResult()
S
65 2 8
queryTransactionReport()
S
73 1 4
isJson()
S
76 1 4
get_hyperpay_trans_type()
S
70 1 7
setExtraData()
S
82 1 3
get_order_status()
S
69 1 7
pending()
S
62 1 10